import type { CouponHistory, CouponHistoryPageDto } from '@/models/coupon'
import type { CommonPage } from '@/models/request'
import request from '@/utils/request'
export function fetchList(params: CouponHistoryPageDto) {
  return request<CommonPage<CouponHistory>>({
    url: '/couponHistory/list',
    method: 'get',
    params: params,
  })
}
